// <copyright file="ContainerEffect.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

namespace YUIAspNet
{
    /// <summary>
    /// Type of effect to apply to the Menu/Overlay.
    /// </summary>
    public enum EffectType
    {
        /// <summary>
        /// Fade effect
        /// </summary>
        Fade,
        /// <summary>
        /// Slide effect
        /// </summary>
        Slide
    }

    /// <summary>
    /// Class encapsulating a type of effect to apply to the Menu/Overlay.
    /// </summary>
    public class ContainerEffect
    {
        /// <summary>
        /// Gets or sets the effect type.
        /// </summary>
        /// <value>The effect.</value>
        public EffectType Effect { get; set; }

        /// <summary>
        /// Gets or sets the duration of the animation.
        /// </summary>
        /// <value>The duration.</value>
        public float Duration { get; set; }
    }
}
